package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    private String name;
    private String lastName;
    private String phone;
    private String address;
    private String zip;
    private String city;
    
    public Person(String name, String lastName, String phone, String address, String zip, String city)
    {
        this.name = name;
        this.lastName = lastName;
        this.phone = phone;
        this.address = address;
        this.zip = zip;
        this.city = city;
    }
    
    /**
     * This method should print information about the person.
     */
    public void printInformation()
    {
        System.out.println(name+ " " +lastName+ ", phone: " +phone);
    }
    
    /**
     * This method should return the name.
     */
    public String getName()
    {
        return name;
    }
    
    /**
     * This method should return the last name.
     */
    public String getLastName()
    {
        return lastName;
    }
    
    /**
     * This method should return the phone.
     */
    public String getPhone()
    {
        return phone;
    }
    
    /**
     * This method should return the address.
     */
    public String getAddress()
    {
        return address;
    }
    
    /**
     * This method should return the zip-code.
     */
    public String getZip()
    {
        return zip;
    }
    
    /**
     * This method should return the city.
     */
    public String getCity()
    {
        return city;
    }
    
    /**
     * This method should set/update the persons name.
     */
    public void setName(String name)
    {
        this.name = name;
    }
    
    /**
     * This method should set/update the persons last name.
     */
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }
    
    /**
     * This method should set/update the persons phone number.
     */
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    
    /**
     * This method should set/update the persons address.
     */
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    /**
     * This method should set/update the persons zip-code.
     */
    public void setZip(String zip)
    {
        this.zip = zip;
    }
    
    /**
     * This method should set/update the persons city.
     */
    public void setCity(String city)
    {
        this.city = city;
    }
}




























